class Student {
    public String name;
    public int age;
    public double score;
    public String sex;

    public void doClass() {
        System.out.println("上课！");
    }
    public void doHomeWork(){
        System.out.println("写作业");
    }
}

public class test {
    public static void main(String[] args) {
        Student student = new Student();//学生实体，学生对象
    }


}
